package domain;

import java.util.Date;

/**
 * 
 * Jun 3, 2009
 *
 * @author Fabian
 *
 */
public class Homework {
	//编号
	private int id;
	
	private String title;
	
	private String content;
	
	private String format;
	
	private String path;	
	
	private String sort;
	
	private String size;
	
	private String pub_user;
	
	private Date pub_time;
	
	private Date sub_time;
	
	private String grade;
	
	private String banji;
	
	private int need_count;
	
	private int sub_count;
	
	private int correct_count;
	
	private String if_done = "未完成";

	/**
	 * @return the if_done
	 */
	public String getIf_done() {
		return if_done;
	}

	/**
	 * @param if_done the if_done to set
	 */
	public void setIf_done(String if_done) {
		this.if_done = if_done;
	}

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * @return the format
	 */
	public String getFormat() {
		return format;
	}

	/**
	 * @param format the format to set
	 */
	public void setFormat(String format) {
		this.format = format;
	}

	/**
	 * @return the path
	 */
	public String getPath() {
		return path;
	}

	/**
	 * @param path the path to set
	 */
	public void setPath(String path) {
		this.path = path;
	}

	/**
	 * @return the sort
	 */
	public String getSort() {
		return sort;
	}

	/**
	 * @param sort the sort to set
	 */
	public void setSort(String sort) {
		this.sort = sort;
	}

	/**
	 * @return the size
	 */
	public String getSize() {
		return size;
	}

	/**
	 * @param size the size to set
	 */
	public void setSize(String size) {
		this.size = size;
	}

	/**
	 * @return the pub_user
	 */
	public String getPub_user() {
		return pub_user;
	}

	/**
	 * @param pub_user the pub_user to set
	 */
	public void setPub_user(String pub_user) {
		this.pub_user = pub_user;
	}

	/**
	 * @return the pub_time
	 */
	public Date getPub_time() {
		return pub_time;
	}

	/**
	 * @param pub_time the pub_time to set
	 */
	public void setPub_time(Date pub_time) {
		this.pub_time = pub_time;
	}

	/**
	 * @return the sub_time
	 */
	public Date getSub_time() {
		return sub_time;
	}

	/**
	 * @param sub_time the sub_time to set
	 */
	public void setSub_time(Date sub_time) {
		this.sub_time = sub_time;
	}

	/**
	 * @return the grade
	 */
	public String getGrade() {
		return grade;
	}

	/**
	 * @param grade the grade to set
	 */
	public void setGrade(String grade) {
		this.grade = grade;
	}

	/**
	 * @return the banji
	 */
	public String getBanji() {
		return banji;
	}

	/**
	 * @param banji the banji to set
	 */
	public void setBanji(String banji) {
		this.banji = banji;
	}

	/**
	 * @return the need_count
	 */
	public int getNeed_count() {
		return need_count;
	}

	/**
	 * @param need_count the need_count to set
	 */
	public void setNeed_count(int need_count) {
		this.need_count = need_count;
	}

	/**
	 * @return the sub_count
	 */
	public int getSub_count() {
		return sub_count;
	}

	/**
	 * @param sub_count the sub_count to set
	 */
	public void setSub_count(int sub_count) {
		this.sub_count = sub_count;
	}

	/**
	 * @return the correct_count
	 */
	public int getCorrect_count() {
		return correct_count;
	}

	/**
	 * @param correct_count the correct_count to set
	 */
	public void setCorrect_count(int correct_count) {
		this.correct_count = correct_count;
	}
}
